<template>
  <div class="choose-goods">
    <evue-table :data="list" :option="option" @selectionChange="selectionChange" @paginationChance="currentChange">
      <template v-slot:activityName="props">
        <p>{{ props.data.activityName }}</p>
      </template>
      <template v-slot:activityType="props">
        <p>{{ props.data.activityType == 0 && '满减' || props.data.activityType == 1 && '积分兑换' || props.data.activityType == 2 && '拼团' || props.data.activityType == 3 && '幸运大抽奖' || props.data.activityType == 4 && '支付有礼' || props.data.activityType == 5 && '打包一口价' || props.data.activityType == 6 && '打包' || props.data.activityType == 7 && '分享' || props.data.activityType == 8 && '秒杀' }}</p>
      </template>
      <template v-slot:activityTime="props">
        <p>{{ props.data.activityTime }}</p>
      </template>
      <template v-slot:imgUrl="props">
        <p>{{ props.data.imgUrl }}</p>
      </template>
    </evue-table>
  </div>
</template>
<script>
import index from './index.js'

export default index
</script>
